home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
JCSM Shareware Collection 1996 September
/
JCSM Shareware Collection (JCS Distribution) (September 1996).ISO
/
bother__
/
cenvid.zip
/
CENVIDOS.ZIP
/
INT16.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-10-06
|
541b
|
21 lines
@echo off
REM *****************************************************
REM *** Int16.bat - Show results of calls to keyboard ***
REM *** ver.1 interrupt 16H ***
REM *****************************************************
CEnviD.exe %0.bat
GOTO CENVI_EXIT
printf("Press Keys to see codes returns by interrupt 16h (until <ESC>)\n");
#define ESCAPE_CODE 0x011B
do {
inreg.ah = 0;
interrupt(0x16,inreg,outreg);
printf("%04X\n",outreg.ax);
} while( outreg.ax != ESCAPE_CODE );
:CENVI_EXIT